package com.ttxs.common.core.constant;

public interface Common {
    interface HttpHeaders {
        String PLATFORM_ID = "Platform-Id";
        String PLATFORM_NAME = "Platform-Name";
    }

    interface Global {
        String SYSTEM_USER = "system";
        String DEFAULT_PASSWORD = "ttxs";
        String DEFAULT_DEPT_NAME = "默认部门";
        String ADMIN_USER_NAME = "admin";
        String ADMIN_USER_NICK_NAME = "管理员用户";
        String ADMIN_ROLE_NAME = "管理员";
        String ADMIN_PLATFORM_ID = "10000";
        String ADMIN_PLATFORM_NAME = "ttxs";
    }
    interface ResultCode {
        int SUCCESS = 0;
        int FAILURE = -1;
    }
    interface Status {
        String STATUS_DISABLED = "1";
        String STATUS_ENABLED = "0";
    }

    interface Sex {
        String SEX_MALE = "0";
        String SEX_FEMALE = "1";
    }

    interface Menu {
        /**
         * 父菜单
         */
        String MENU_TYPE_MENU = "M";
        /**
         * 子菜单/组件/页面
         */
        String MENU_TYPE_COMPONENT = "C";
        /**
         * 功能/按钮
         */
        String MENU_TYPE_FUNCTION = "F";
        /**
         * 可见
         */
        String VISIBLE = "0";
        /**
         * 隐藏，无需显示到用户菜单树或导航菜单
         */
        String HIDDEN = "1";

        /**
         * 最大一级菜单数量
         */
        int ONE_LEVEL_LIMIT = 20;

    }

}
